package vip.xiaozhao.paotui.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import vip.xiaozhao.paotui.intf.entity.PaotuiWalletAudit;
import vip.xiaozhao.paotui.intf.mapper.PaotuiWalletAuditMapper;
import vip.xiaozhao.paotui.intf.service.PaotuiWalletAuditService;

@Service
@Slf4j
public class PaotuiWalletAuditServiceImpl implements PaotuiWalletAuditService {

    @Autowired
    private PaotuiWalletAuditMapper walletAuditMapper;

    @Override
    public PaotuiWalletAudit loadById(int id) {
        return walletAuditMapper.loadById(id);
    }

    @Override
    public int insert(PaotuiWalletAudit walletAudit) {
        return walletAuditMapper.insert(walletAudit);
    }

    @Override
    public int update(PaotuiWalletAudit walletAudit) {
        return walletAuditMapper.update(walletAudit);
    }
}
